<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
</head>

<body class="container">
    <h2 align="center">使用网格系统控制卡片的宽度</h2>
    <div class="row">
        <div class="col-sm-6">
            <div class="card">
                <div class="card-header">热销水果</div>
                <div class="card-body">苹果</div>
                <div class="card-footer">惠丰商城</div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="card">
                <div class="card-header">热销蔬菜</div>
                <div class="card-body">菠菜</div>
                <div class="card-footer">惠丰商城</div>
            </div>
        </div>
    </div>

</body>

</html>